package main.chapter4;/**
 * @Author xy
 * @Date 2020/6/10 21:53
 * @Description
 */

import java.time.LocalDate;

/**
 * 文件名称： main.chapter4.FinalTest.java</br>
 * 初始作者： xy</br>
 * 创建日期： 2020/6/10 21:53</br>
 * 功能说明： TODO <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public class FinalTest {
    public static void main(String[] args) {
        Employee2 employee = new Employee2();
        employee.giveGoldStar();
    }
}

class Employee2{
    private final StringBuilder evaluations;

    Employee2() {
        this.evaluations = new StringBuilder();
    }

    public void giveGoldStar(){
        evaluations.append(LocalDate.now()+": Gold star!\n");
    }
}
